﻿using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using AbpVueDemo.Authorization.Roles;
using AbpVueDemo.Authorization.Users;
using AbpVueDemo.MultiTenancy;
using AbpVueDemo.SystemBase.DictionaryTableManager;
using AbpVueDemo.Demo;

using AbpVueDemo.System_management;
using AbpVueDemo.JichuxinxinDemo;
using AbpVueDemo.Employee;

using AbpVueDemo.Contract_Management;
using AbpVueDemo.MaterialsDemo;
using AbpVueDemo.Demo.FileMananger.Dto;
using AbpVueDemo.JiesuanguanliDemo;
using AbpVueDemo.WeihuguanliDemo;
using AbpVueDemo.DeperManager;

namespace AbpVueDemo.EntityFrameworkCore
{
    public class AbpVueDemoDbContext : AbpZeroDbContext<Tenant, Role, User, AbpVueDemoDbContext>
    {
        /* Define a DbSet for each entity of the application */
        
             public virtual DbSet<SanjiData> SanjiData { get; set; }
        public virtual DbSet<BaoyangData> BaoyangData { get; set; }
        public virtual DbSet<FeiyongData> FeiyongData { get; set; }
        public virtual DbSet<LuntaiData> LuntaiData { get; set; }
        public virtual DbSet<ShiguData> ShiguData { get; set; }
        public virtual DbSet<WeixiuData> WeixiuData { get; set; }
        public virtual DbSet<WeizhangData> WeizhangData { get; set; }
        public virtual DbSet<YingshouData> YingshouData { get; set; }
        public virtual DbSet<YingfuData> YingfuData { get; set; }
        public virtual DbSet<JinxiangData> JinxiangData { get; set; }
        public virtual DbSet<XiaoxiangData> XiaoxiangData { get; set; }
        public virtual DbSet<FukuanData> FukuanData { get; set; }


        public virtual DbSet<MingNameData> MingNameData { get; set; }
        public virtual DbSet<YoufeiData> YoufeiData { get; set; }
        public virtual DbSet<CheliangData> CheliangData { get; set; }//基础信息-车辆管理
        public virtual DbSet<XianluData> XianluData { get; set; }//基础-线路
        public virtual DbSet<WaixieData> WaixieData { get; set; }//基础-外协
        public virtual DbSet<HuozhuData> HuozhuData { get; set; }//基础-货主


        public virtual DbSet<Materialsgoods> Materialsgoods { get; set; }
        public virtual DbSet<Deparent> Deparent { get; set; }


        public virtual DbSet<ClassData> ClassData { get; set; }
        public virtual DbSet<StudentDemo> StudentDemo { get; set; }
        public virtual DbSet<Employee_registrations> Employee_registrations { get; set; }
        public virtual DbSet<Employee_regplus> Employee_regplus { get; set; }//员工登记
        public virtual DbSet<stockmanager> stockmanager { get; set; }//入库管理
        public virtual DbSet<LingYonger> LingYonger { get; set; }//物资领用

        /// <summary>
        /// 添加 字典表到上下文     lzh
        /// </summary>
        public virtual DbSet<DictionaryTable> DictionaryTable { get; set; }
        /// <summary>
        /// 添加 字典类别表到上下文 lzh
        /// </summary>
        public virtual DbSet<DictionaryTypeTable> DictionaryTypeTable { get; set; }



        //部门-zmy
        public virtual DbSet<Departmentmanager> Departmentmanager { get; set; }
        //职位-zmy
        public virtual DbSet<PositionmanagerPo> PositionmanagerPo { get; set; }
       // 货主合同-zmy
        public virtual DbSet<OwnerContractManagementPo> OwnerContractManagementPo { get; set; }
        public virtual DbSet<AcceptContractManagementPo> AcceptContractManagementPo { get; set; }
        //承运合同-zmy






        public AbpVueDemoDbContext(DbContextOptions<AbpVueDemoDbContext> options)
            : base(options)
        {
        }
    }
}
